import 'package:get/get.dart';

import '../framework/login/view.dart';
import '../framework/main/view.dart';
import '../framework/welcome/view.dart';
import '../pages/home/view.dart';
import 'app_router.dart';

class AppPages {
  static const INITIAL = AppRoutes.Login;

  static final routes = [
    /// 欢迎页面
    GetPage(
      name: AppRoutes.Welcome,
      page: () => WelcomePage(),
    ),

    /// 登录
    GetPage(
      name: AppRoutes.Login,
      page: () => LoginPage(),
    ),

    /// 主页
    GetPage(
      name: AppRoutes.Main,
      page: () => MainPage(),
    ),

    /// 首页
    GetPage(
      name: AppRoutes.Home,
      page: () => HomePage(),
    ),

  ];
}
